﻿<UserControl x:Class="Ripple.TestClient.Views.AccountView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:v="clr-namespace:Ripple.TestClient.Views"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <DockPanel>
        <v:AccountInfoView DockPanel.Dock="Top" DataContext="{Binding AccountInfo}" />

        <TabControl SelectedIndex="{Binding SelectedIndex}">
            <TabItem Header="Trust Lines">
                <v:TrustLineListView DataContext="{Binding TrustLines}" />
            </TabItem>
            <TabItem Header="Offers">
                <v:OfferListView DataContext="{Binding Offers}" />
            </TabItem>
            <TabItem Header="Transactions">
                <v:TransactionListView DataContext="{Binding Transactions}" />
            </TabItem>
        </TabControl>
    </DockPanel>
</UserControl>